cmake_minimum_required(VERSION 3.5)

project(cpp_demo)

set(CMAKE_CXX_STANDARD 11)

set(TARGETS
    lambda_demo
    func_pointer)

foreach(name ${TARGETS})
    add_executable(${name} ${name}.cpp)
endforeach()    


